package com.jk.smartelderlycare.interfaces;

import com.jk.smartelderlycare.dto.TbUser;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author hhk
 * @version 1.0
 * @ClassName TbUserServiceApi
 * @program: smart-elderly-care
 * @description: TODO
 * @date 2024/11/18 20:33
 */
public interface TbUserServiceApi {
    /** 
     * @description: 通过用户名获得用户信息
     * @param: [username]
     * @return: com.jk.smartelderlycare.dto.TbUser
     * @author hhk
     * @date: 2024/11/18 20:36
     */ 
    @GetMapping(value = "/tbUser/findTbUserByUsername")
    public TbUser findTbUserByUsername(@RequestParam(value = "username") String username);
}
